﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.NetworkMessageInfo
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using System.ComponentModel;
using System.Runtime.InteropServices;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>This data structure contains information on a message just received from the network.</para>
  /// </summary>
  [EditorBrowsable(EditorBrowsableState.Never)]
  [Obsolete("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.", true)]
  [StructLayout(LayoutKind.Sequential, Size = 1)]
  public struct NetworkMessageInfo
  {
    /// <summary>
    ///   <para>The time stamp when the Message was sent in seconds.</para>
    /// </summary>
    [Obsolete("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.", true)]
    [EditorBrowsable(EditorBrowsableState.Never)]
    public double timestamp
    {
      get
      {
        throw new NotSupportedException("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.");
      }
    }

    /// <summary>
    ///   <para>The player who sent this network message (owner).</para>
    /// </summary>
    [Obsolete("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.", true)]
    [EditorBrowsable(EditorBrowsableState.Never)]
    public NetworkPlayer sender
    {
      get
      {
        throw new NotSupportedException("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.");
      }
    }

    /// <summary>
    ///   <para>The NetworkView who sent this message.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never)]
    [Obsolete("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.", true)]
    public NetworkView networkView
    {
      get
      {
        throw new NotSupportedException("The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.");
      }
    }
  }
}
